package com.wang.service;

import com.wang.utils.ResponseUtil;

public interface CartService {
    public ResponseUtil findCountByUserId(Integer userId);

    //根据用户id获取购物车详情
    public ResponseUtil findCartByUserId(Integer userId);

    ResponseUtil updateCart(Integer id, Integer quantity, Integer checked);

    ResponseUtil delCartById(Integer id);

    ResponseUtil delCartByIds(Integer[] idArr);

    ResponseUtil delCartByUserId(Integer userId);
}
